<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<head>
	<th:block th:include="include :: header('设备相关在制品详情')" />
</head>
<body class="gray-bg">
     <div class="container-div">
		<div class="row">
			<div class="col-sm-12 select-table table-striped">
				<table id="bootstrap-table"></table>
			</div>
		</div>
	</div>
    <div th:include="include :: footer"></div>
    <script th:inline="javascript">
        var datas = [[${@dict.getType('sys_normal_disable')}]];

		var columns = [
			{
				field: 'NO',
				title: "序号",
				width: 50,
				formatter: function (value, row, index) {
					return $.table.serialNumber(index);
				}
			},
			{
				field : 'lotId',
				title : '批号'
			},
			{
				field : 'partName',
				title : '产品名称'
			},
			{
				field : 'partType',
				title : '产品类型'
			},
			{
				field : 'lotType',
				title : '批次类型'
			},
			{
				field : 'priority',
				title : '等级'
			},
			{
				field : 'mainQty',
				title : '当前数量'
			},
			{
				field : 'stageDsc',
				title : '当前站点'
			},
			{
				field : 'stepName',
				title : '工步名称'
			},
			{
				field : 'stepDesc',
				title : '工步描述'
			},
			{
				field : 'contime',
				title : '停留时间/天'
			},
			{
				field : 'state',
				title : '当前状态'
			},
			{
				field : 'equipmentId',
				title : '设备编号'
			},
			{
				field : 'capa',
				title : '设备能力'
			}
		];

		var options = {
			data: [[${dayMesWipLotInfoList}]],
			pagination: false,
			showSearch: false,
			showRefresh: false,
			showToggle: false,
			showColumns: false,
			modalName: "设备相关在制品详情",
			columns: columns
		};

        $(function() {
            $.table.init(options);
        });
    </script>
</body>
</html>